package com.jiezuo.auth.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jiezuo.common.base.BaseEntity;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
* @description   数据权限表
* @author        庞留杰
* @date          2022/01/18 18:08
* @version       V1.0
**/
//数据权限表")
@Data
@TableName(value = "sys_permission_api")
public class PermissionApi extends BaseEntity implements Serializable{
	private static final long serialVersionUID = 1L;

    //资源ID")
    private String permission_id;

    //是否开启数据权限拦截？1：是，0：否")
    private String is_data_authority;

    //后台方法")
    private String api;

    //备注")
    private String note;

    @TableField(exist = false)
    //拦截字段")
    List<PermissionApiField> fields;

}
